from django.conf.urls.defaults import *
from porabi.food.views import *
from porabi.food.viewsmethod import *


urlpatterns = patterns('',
    (r'^$', indexfood ),
    (r'^addcafe/$', addcafe),
    (r'^shcafe/(?P<idcafe>\d{1,5})/$', shcafe),
    (r'^addcom/$', addcoment),
    (r'^plusr/(?P<idcafe>\d{1,5})/$', plusr),
    (r'^minusr/(?P<idcafe>\d{1,5})/$', minusr),
    (r'^sort/(?P<re_pr>\d{1,3})/(?P<pl_mi>\d{1,3})/$', sort),
    (r'^top/$', top30),
    (r'^shit/$', shit),
    (r'^addcri/$', criticadd),
    (r'^freshcri/$', freshcri),
)

